package com.taoym.voucher.xcx.entity.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @coder taoym
 * @datetime 2021/8/23 17:28
 * @desc
 */
@Data
public class XcxECGetGoodsConvertVO implements Serializable {
    @ApiModelProperty(example = "商品名称")
    private String goodsName;
    @ApiModelProperty(example = "折扣价")
    private String price;
    @ApiModelProperty(example = "市场价")
    private String marketPrice;
    @ApiModelProperty(example = "券金额")
    private String discount;
    @ApiModelProperty(example = "佣金比率")
    private String commissionRate;
    @ApiModelProperty(example = "佣金")
    private String commission;
    @ApiModelProperty(example = "券信息")
    private CouponInfo couponInfo;
    @ApiModelProperty(example = "小程序信息")
    private WeAppInfo we_app_info;
    @ApiModelProperty(example = "推广链接")
    private String url;
    @ApiModelProperty(example = "商品轮播图")
    private List<String> goodsCarouselPictures;
    @ApiModelProperty(example = "商品详情图")
    private List<String> goodsDetailPictures;

    @Data
    public static class CouponInfo{
        @ApiModelProperty(example = "券金额")
        private String fav;
        @ApiModelProperty(example = "券结束时间")
        private String useEndTime;
        @ApiModelProperty(example = "券开始时间")
        private String useBeginTime;
    }

    @Data
    public static class WeAppInfo{
        @ApiModelProperty(example = "小程序ID")
        private String app_id;
        @ApiModelProperty(example = "小程序跳转页")
        private String page_path;
    }
}
